namespace AltNetUK.Models
{
    using System;
    using System.Xml.Serialization;

    [XmlRoot(ElementName = "contact")]
    public sealed class Contact
    {
        [XmlElement(ElementName = "name")]
        public Name Name
        {
            get;
            set;
        }

        [XmlAttribute(AttributeName = "href")]
        public string Href
        {
            get;
            set;
        }

        [XmlAttribute(AttributeName = "telephone")]
        public string Telephone
        {
            get;
            set;
        }

        [XmlAttribute(AttributeName = "email")]
        public string Email
        {
            get;
            set;
        }

        [XmlAttribute(AttributeName = "twitter")]
        public string Twitter
        {
            get;
            set;
        }
    }
}